import java.sql.SQLOutput;

public class EqualsTest2 {
    public static void main(String[] args) {
        int it=65;
        float f1=65.0f;
        System.out.println(it==f1);
        char ch1='A';


        System.out.println(it==ch1);
        String str1=new String("hello");
        String str2=new String("hello");
        System.out.println(str1==str2);

        AA aa=new AA();
        AA aa2=new AA();
        System.out.println("aa的hashCode()="+aa.hashCode());
        System.out.println("aa2的hashCode()="+aa2.hashCode());
        AA aa3=aa;
        System.out.println("aa3的hashCode()="+aa3.hashCode());
    }

}

class AA{}